|
|
<% if pagename="gulenelma" then %>
 |
|
<%
sql=" SELECT * FROM TV WHERE ID IN (SELECT MAX(ID) FROM TV)"
objRS.open sql,objCN,1,3
%>
<% objRS.close %>
|
 |
|
<% else %>
<%end if%>
<%%>
<%%>
<%%>
<%%>
|
 |
|
<%
sql=" SELECT * FROM ANTIADS ORDER BY NEW DESC,PRIORITY DESC, DATE DESC"
objRS.open sql,objCN,1,3
if not objRS.eof then
%>
<%
maxPageCap=6
counter=3
if trim(request.querystring("page"))="" then
curpage=1
else
curPage=cint(trim(request.querystring("page")))
end if
recCo=objRs.recordcount
x=(curpage-1)*maxPageCap
if x>recCo then
response.write "hata"
response.end
end if
objRs.move x
co=0
co1=(curPage-1)*maxPageCap
%>
|
|
|
|
 |